home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / windows / dzk203.zip / DATAFILE.TXT < prev    next >
Text File  |  1996-04-04  |  4KB  |  165 lines

  1. All three data files for DeZkTop are a series of records made up
  2. from several lines.  The Floaters are the simplest, the menus are a
  3. bit more complicated and the Hotkeys more complicated again.
  4.  
  5. Floaters
  6. --------
  7.  
  8. Each record in the Floaters file consists of 10 lines.
  9.  
  10.  1. The floater title
  11.  2. The icon file
  12.  3. The executable file
  13.  4. The arguments
  14.  5. The startup directory
  15.  6. The number of the icon within the icon file
  16.  7. Five integers:
  17.       i)   Startup state, 0 = normal, 1 = minimised, 2 = maximised,
  18.            3 = hidden
  19.       ii)  Flag to prompt for arguments, 1 = prompt, 0 = don't prompt
  20.       iii) Priority, 0 = Normal, 1 = low, 2 = high, 3 = super
  21.       iv)  Autorun, 1 = run app when DeZkTop starts, 0 = don't run app
  22.       v)   Separate address space, 1 = run 16 bit app in a separate
  23.             address space, 0 = don't use separate address space
  24.  8. Two integers:
  25.       i)   This is a version marker and is always 1
  26.       ii)  The length of the icon data.  This will be 0 if the icons
  27.            are not cached and the number of bytes the icon occupies
  28.            if icons are cached.
  29.     If icons are chached there is then a block of binary data the
  30.     length of which is given by number (ii) above.
  31.  9. Three integers
  32.       i)   TitleInvisible, 1 = don't display the Floater title
  33.       ii)  Immoveable, 1 = the floater cannot be moved by dragging
  34.       iii) AlwaysOnTop, 1 = the floater is always on top
  35. 10. Four integers giving the position of the floater in screen pixels
  36.       i)   Left edge
  37.       ii)  Top edge
  38.       iii) Right edge
  39.       iv)  Bottom edge
  40.  
  41.  
  42.  
  43. Menus
  44. -----
  45.  
  46. Each record in the Menus file consists of 13 lines.  The first 10
  47. lines are exactly the same as for floaters.  The additional lines
  48. are:
  49.  
  50. 11. Two integers giving the menu position in screen pixels
  51.       i)   Left edge
  52.       ii)  Top edge
  53. 12. Three integers
  54.       i)   The width of the menu in icons, eg a width of 3 means there
  55.            are 3 icons in each row
  56.       ii)  The horizontal spacing between icons in screen pixels
  57.       iii) The vertical spacing between icons in screen pixels
  58. 13. Two integers.  If the icon is not a submenu then both integers are
  59.     zero.  If the first integer is 1 that is a flag indicating that
  60.     this icon is a submenu.  If so then the second integer gives the
  61.     number of icons in this submenu.  eg if the second number is 6 then
  62.     the next 6 menu items are icons within this submenu.
  63.  
  64. The menu file always contains one record for the top level menu,
  65. even if you have not created any menu items.
  66.  
  67.  
  68.  
  69. Hotkeys
  70. -------
  71.  
  72. Each record in the Hotkeys file consists of 14 lines.  The first 13
  73. lines are exactly the same as menus.  The additional line is:
  74.  
  75. 14. Four integers giving the hotkey data
  76.       i)   The hotkey
  77.       ii)  Control key flag, 1 = hotkey needs control down
  78.       iii) Shift key flag, 1 = hotkey needs shift down
  79.       iv)  Alt key flag, 1 = hotkey needs alt down
  80.  
  81. The HotKeys file always contains one record for the top level hotkey
  82. menu, even if you have not created any hotkeys.
  83.  
  84. The hotkey number is an internal number not related to ascii codes or
  85. any other encoding.  The codes are:
  86.  
  87. 0   F1
  88. 1   F2
  89. 2   F3
  90. 3   F4
  91. 4   F5
  92. 5   F6
  93. 6   F7
  94. 7   F8
  95. 8   F9
  96. 9   F10
  97. 10  F11
  98. 11  F12
  99. 12  A
  100. 13  B
  101. 14  C
  102. 15  D
  103. 16  E
  104. 17  F
  105. 18  G
  106. 19  H
  107. 20  I
  108. 21  J
  109. 22  K
  110. 23  L
  111. 24  M
  112. 25  N
  113. 26  O
  114. 27  P
  115. 28  Q
  116. 29  R
  117. 30  S
  118. 31  T
  119. 32  U
  120. 33  V
  121. 34  W
  122. 35  X
  123. 36  Y
  124. 37  Z
  125. 38  0
  126. 39  1
  127. 40  2
  128. 41  3
  129. 42  4
  130. 43  5
  131. 44  6
  132. 45  7
  133. 46  8
  134. 47  9
  135. 48  Space
  136. 49  Return
  137. 50  Tab
  138. 51  Escape
  139. 52  Backspace
  140. 53  Left
  141. 54  Up
  142. 55  Right
  143. 56  Down
  144. 57  Insert
  145. 58  Delete
  146. 59  Home
  147. 60  End
  148. 61  Page up
  149. 62  Page down
  150. 63  Numpad 0
  151. 64  Numpad 1
  152. 65  Numpad 2
  153. 66  Numpad 3
  154. 67  Numpad 4
  155. 68  Numpad 5
  156. 69  Numpad 6
  157. 70  Numpad 7
  158. 71  Numpad 8
  159. 72  Numpad 9
  160. 73  Numpad /
  161. 74  Numpad *
  162. 75  Numpad -
  163. 76  Numpad +
  164. 77  Numpad .
  165.